package com.jkoss.wine.shop.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;


/**
 * 
 * 
 * @Author Jason
 * @Version 1.0, 2018-10-03
 * @See
 * @Since com.jkoss.wine.shop.entity
 * @Description: TODO
 */
@TableName("shop_setting")
public class ShopSetting extends Model<ShopSetting> {

    private static final long serialVersionUID = 1L;

    @TableId("shop_setting_id")
    private String shopSettingId;
    /**
     * 店铺ID
     */
    @TableField("shop_id")
    private String shopId;
    /**
     * 线上商城分销模式 0分销商模式 1会员分销模式
     */
    @TableField("online_sale_type")
    private Integer onlineSaleType;
    /**
     * 充值时允许赠送金额 0否1是
     */
    @TableField("recharge_allow_give")
    private Integer rechargeAllowGive;
    @TableField("wechat_mid")
    private String wechatMid;
    @TableField("wechat_secret_key")
    private String wechatSecretKey;
    @TableField("wechat_appid")
    private String wechatAppid;
    @TableField("alipay_mid")
    private String alipayMid;
    /**
     * 支付宝私钥
     */
    @TableField("alipay_private_key")
    private String alipayPrivateKey;
    /**
     * 支付宝公钥
     */
    @TableField("alipay_public_key")
    private String alipayPublicKey;
    @TableField("alipay_appid")
    private String alipayAppid;
    @TableField("operator")
    private String operator;
    @TableField("add_time")
    private Date addTime;


    public String getShopSettingId() {
        return shopSettingId;
    }

    public void setShopSettingId(String shopSettingId) {
        this.shopSettingId = shopSettingId;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public Integer getOnlineSaleType() {
        return onlineSaleType;
    }

    public void setOnlineSaleType(Integer onlineSaleType) {
        this.onlineSaleType = onlineSaleType;
    }

    public Integer getRechargeAllowGive() {
        return rechargeAllowGive;
    }

    public void setRechargeAllowGive(Integer rechargeAllowGive) {
        this.rechargeAllowGive = rechargeAllowGive;
    }

    public String getWechatMid() {
        return wechatMid;
    }

    public void setWechatMid(String wechatMid) {
        this.wechatMid = wechatMid;
    }

    public String getWechatSecretKey() {
        return wechatSecretKey;
    }

    public void setWechatSecretKey(String wechatSecretKey) {
        this.wechatSecretKey = wechatSecretKey;
    }

    public String getWechatAppid() {
        return wechatAppid;
    }

    public void setWechatAppid(String wechatAppid) {
        this.wechatAppid = wechatAppid;
    }

    public String getAlipayMid() {
        return alipayMid;
    }

    public void setAlipayMid(String alipayMid) {
        this.alipayMid = alipayMid;
    }

    public String getAlipayPrivateKey() {
        return alipayPrivateKey;
    }

    public void setAlipayPrivateKey(String alipayPrivateKey) {
        this.alipayPrivateKey = alipayPrivateKey;
    }

    public String getAlipayPublicKey() {
        return alipayPublicKey;
    }

    public void setAlipayPublicKey(String alipayPublicKey) {
        this.alipayPublicKey = alipayPublicKey;
    }

    public String getAlipayAppid() {
        return alipayAppid;
    }

    public void setAlipayAppid(String alipayAppid) {
        this.alipayAppid = alipayAppid;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.shopSettingId;
    }

    @Override
    public String toString() {
        return "ShopSetting{" +
        ", shopSettingId=" + shopSettingId +
        ", shopId=" + shopId +
        ", onlineSaleType=" + onlineSaleType +
        ", rechargeAllowGive=" + rechargeAllowGive +
        ", wechatMid=" + wechatMid +
        ", wechatSecretKey=" + wechatSecretKey +
        ", wechatAppid=" + wechatAppid +
        ", alipayMid=" + alipayMid +
        ", alipayPrivateKey=" + alipayPrivateKey +
        ", alipayPublicKey=" + alipayPublicKey +
        ", alipayAppid=" + alipayAppid +
        ", operator=" + operator +
        ", addTime=" + addTime +
        "}";
    }
}
